package org.jeecg.modules.oa.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.oa.entity.OaComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 评论表
 * @Author: jeecg-boot
 * @Date:   2019-09-12
 * @Version: V1.0
 */
@Repository
public interface OaCommentMapper extends BaseMapper<OaComment> {

    List<OaComment> getByParentId(String parentId);

    List<OaComment> findAllByTopicId(String topicId);

    List<OaComment> getByTopicId(String topicId);
}
